
.el-button [class*=el-icon-]+span, .el-button [class*=el-ksd-icon]+span {
  margin-left: 2px;
}
.el-button {
  i {
    vertical-align: middle;
  }
  span {
    vertical-align: middle;
    line-height: 22px;
  }
  &.icon-bg {
    padding: 2px 4px;
    font-size: 16px;
    background-color: $--background-color-hover;
    i {
      color: $--color-text-primary;
    }
  }
}
.el-dialog {
  border-radius: 10px;
  .el-dialog__header {
    padding: 24px 24px 0;
    font-weight: 600;
    min-height: 18px;
  }
  .el-dialog__body {
    padding: 24px;
  }
  .el-dialog__footer {
    padding: 0 24px 24px;
  }
}

.el-form-item:last-of-type {
  margin-bottom: 0px;
}
.el-form--label-top .el-form-item__label {
  line-height: 14px;
  padding: 0px 0px 8px;
}
.el-form-item__label {
  font-weight: 600;
}
.el-tree-node__content {
  height: 34px;
}
.el-tabs--card > .el-tabs__header {
  background-color: $--background-color-secondary;
  .el-tabs__item.is-active {
    background-color: $--color-white;
  }
}
.el-tabs {
  > .el-tabs__header {
    .el-tabs__item {
      font-weight: normal;
      box-shadow: none !important;
      border-radius: 0 !important;
      &:not(.is-active) {
        &:hover {
          color: inherit;
        }
      }
      &.is-active {
        border-radius: 4px 4px 0 0;
        color: $--color-text-primary;
        font-weight: bold;
      }
    }
  }
  &.tabs_button {
    .el-tabs__nav-wrap::after {
      height: 0px;
    }
    > .el-tabs__header {
      border: none;
      background-color: $--background-color-hover;
      border-radius: $--border-radius-base;
      height: 28px;
      font-size: 12px;
      display: inline-block;
      .el-tabs__nav {
        margin: 3px 0;
      }
      .el-tabs__active-bar {
        height: 0px;
      }
      .el-tabs__item {
        margin: 0 3px;
        padding: 0px 10px;
        height: 22px;
        line-height: 22px;
        text-align: center;
        &.is-active {
          background-color: $--color-white;
          box-shadow: 0px 1px 4px rgba(63, 89, 128, 0.16);
          border-radius: $--border-radius-small;
        }
      }
    }
  }
}
.el-tooltip__popper {
  max-width: 300px;
  &.is-light {
    .popper__arrow {
      border-top-color: $--color-white !important;
    }
    background: $--tooltip-color;
    border: 1px solid $--tooltip-color;
    color: $--color-text-primary;
    box-shadow: 0px 4px 12px rgba(48, 70, 103, 0.32);
  }
}
.el-tag {
  padding: 1px 5px;
  font-size: 14px;
  line-height: 22px;
  height: 26px;
  border-color: $--color-primary-light-9;
  &.el-tag--success {
    border-color: $--color-success-lighter;
  }
  &.el-tag--info {
    border-color: $--color-info-lighter;
    .el-tag__close {
      color: $--color-info-light;
    }
  }
  &.el-tag--danger {
    border-color: $--color-danger-lighter;
  }
}
.el-select .el-tag__close.el-icon-close {
  background-color: transparent;
}
.el-message-box {
  padding-bottom: 15px;
  &.centerButton {
    .el-message-box__btns {
      display: flex;
      .el-button {
        flex: 1;
      }
    }
  }
}
